//
//  UserLoginResult.m
//  e-nurse
//
//  Created by triaphoo on 12-12-20.
//
//

#import "LoginResult.h"

@implementation LoginResult
@synthesize isOnline = _isOnline;
@synthesize isActivated = _isActivatedUser;
@synthesize error = _error;
@synthesize userId = _userId;
@synthesize apiKey = _apiKey;
@synthesize isInvalid = _isInvalid;

-(void)dealloc
{
    self.error = nil;
    self.apiKey = nil;
    [super dealloc];
}

-(id)init
{
    self = [super init];
    if(self){
        self.isOnline = false;
        self.isInvalid = true;
        self.isActivated = false;
    }
    return self;
}
@end
